﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _04_IOC
{
    internal interface IConnection
    {
    }
    internal class MySqlConnection : IConnection
    {
        public string? Name { get; }
        public MySqlConnection()
        {

        }
        public MySqlConnection(string name)
        {
            Name = name;
        }
    }
    internal class SqlConnection : IConnection
    {
        public string? Name { get; }
        public SqlConnection()
        {

        }
        public SqlConnection(string name)
        {
            Name = name;
        }
    }
}
